import request from '../../ulits/index';

//分类首页左边
export const getGroupLeft = async()=>{
    let res = await request.get('xbu/front/group/getGroupLeftTag?activitySource=xbuXcx&appVer=1.0.0&channelId=10001&platType=14')
    return res;
}
// 分类首页推荐右边
export const getGroupRight = async(params={"id":106})=>{    
    let res = await request.post('xbu/front/group/getGroupRightTag?activitySource=xbuXcx&appVer=1.0.0&channelId=10001&platType=14',params);
    return res;
}
// 分类睡眠家具
export const getRecomment = async()=>{
    let res = await request.post('xbu/front/group/getGroupRightTag?activitySource=xbuXcx&appVer=1.0.0&channelId=10001&platType=14',{
        "id":2
    })
    return res;
}
// 获取分类全部商品
export const getAllShops = async(params)=>{
    let res = await request.post('xbu/front/group/getGoodsListByGroupId?activitySource=xbuXcx&appVer=1.0.0&channelId=10001&platType=14',params)
    return res;
}
